package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsHomeAdvertiseDO;
import com.macro.mall.model.sms.SmsHomeAdvertiseQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsHomeAdvertiseMapper extends BaseMapper<SmsHomeAdvertiseDO> {
    long countByExample(SmsHomeAdvertiseQuery example);

    int deleteByExample(SmsHomeAdvertiseQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsHomeAdvertiseDO record);

    int insertSelective(SmsHomeAdvertiseDO record);

    List<SmsHomeAdvertiseDO> selectByExample(SmsHomeAdvertiseQuery example);

    SmsHomeAdvertiseDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsHomeAdvertiseDO record, @Param("example") SmsHomeAdvertiseQuery example);

    int updateByExample(@Param("record") SmsHomeAdvertiseDO record, @Param("example") SmsHomeAdvertiseQuery example);

    int updateByPrimaryKeySelective(SmsHomeAdvertiseDO record);

    int updateByPrimaryKey(SmsHomeAdvertiseDO record);
}
